home *** CD-ROM | disk | FTP | other *** search
-
- > Hello!
- >
- > I have programmed a protein (wire-frame) viewing program
- > and I have experienced the same speed problems as you have.
- > After having optimized the code, I have started to translate
- > some routines in Assembler. Unfortunately, I was quite
- > disappointed at the speed-increase. Excepted a simple
- > Bubblesort routine which I use for a Z-sort and which
- > ran about 40 times faster, the rest did not even run
- > twice as fast as before. I'm not an Assembler expert, but
- > I tried to use registers and keep the data in the cache. I
- > don't believe that a good Assembler programmer would make it
- > run much faster.
- >
- > Anyway, as the program rotates about 550 lines 5 times per
- > second on my A4000/040 and it did maybe 300 lines before
- > I used my Assembler routines, I guess that you could speed
- > up your actual program a lot by simply optimizing it!
- > (An A1200 can't be 15-20 times slower than a A4000, can it?)
- >
-
- Yes, my Amiga1200 is much slower than your A4000!
- I think I can reach 20 lines before it becomes too slow.
- The routine cannot be optimized to much... they are only 3 loops which
- execute moltiplication and addition... but the problem is that i have a
- "dynamic matrix". It changes to modify the objects on the screen.
- So I have to store all new values into this matrix (which is 3x3).
- And then repeat all the calculations!
-
- >
- > Secondly, use the TurboLib extension! The F_draw command is about
- > twice as fast as the AMOS command which makes an enormous speed
- > increase (in the current version of my program, 50% of the time
- > is consumed in the drawing routine!). You can also use the fast
- > command to clear the bitplanes.
-
- I use turbo Extension. I use the Line 3d command (I hope it is optimized
- as the f_draw!). But still everything is very slow!
-
- > I have never tested Amos3D, but maybe this could also be of some
- > help? Anyone?
-
- NOOOOO!!!!!!!!!!!!!!!!!!!!!!!!
- Please... no Amos3D. Thanks!
-
- M&F
-
-